package edu.dailicious.tapestryboard.encoder;

import org.apache.tapestry5.ValueEncoder;

public class IntegerValueEncoder implements ValueEncoder<Integer> {

	public String toClient(Integer value) {
		
		return value.toString();
	}

	public Integer toValue(String clientValue) {
		return Integer.parseInt(clientValue);
	}  

}
